.mains{
  width: 300px;
  padding: 16px;
  text-align: center;
}
.mains1{
  width: 300px;
  padding: 16px;
  margin: 0 auto;
}
.mains1 p{
  text-align: center;
}
.puzzleCaptcha {
  width: 300px;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: system-ui, -apple-system, sans-serif;
}
.captchaHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.captchaHeader h3 {
  margin: 0;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}
.refreshBtn {
  background: none;
  border: none;
  color: #1677ff;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}
.refreshBtn:hover {
  background-color: #f0f7ff;
}
.refreshBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.imageContainer {
  position: relative;
  width: 300px;
  height: 200px;
  margin-bottom: 16px;
  overflow: hidden;
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #888;
}
.bgImageContainer {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.bgImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.puzzleHole {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  border: 1.5px dashed rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  pointer-events: none;
}
.puzzlePiece {
  position: absolute;
  background-size: 300px 200px;
  border-radius: 5px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  cursor: grab;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: box-shadow 0.2s;
}
.puzzlePiece::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.sliderContainer {
  position: relative;
  width: 100%;
  height: 44px;
  margin-bottom: 8px;
}
.sliderHandle {
  position: absolute;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 3;
  transition: transform 0.1s, box-shadow 0.1s;
  user-select: none;
}
.sliderHandle.dragging {
  transform: scale(1.05);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.sliderTrack {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
}
.sliderProgress {
  position: absolute;
  height: 100%;
  background-color: #1677ff;
  border-radius: 2px;
  transition: width 0.05s;
}
.sliderText {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 13px;
  pointer-events: none;
  user-select: none;
  padding-left: 44px;
}
.message {
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.message.success {
  background-color: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}
.message.error {
  background-color: #fff2f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}